<?php
class indexController{
    public function __construct(){
        
    }
    public function index($io,$connection,$data){

    }
    public function test($io,$connection,$data){
        echo $data;
        echo "\n";
        $connection->emit('message', 'this is hello/test!');
    }
}